<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" type="text/css" href="/Public/css/default.css" />
        <link rel="stylesheet" type="text/css" href="/Public/css/help.css" />
    </head>
    <body>
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>模板返利网－买模板返现金，免费装修，淘宝店铺装修模板免费买</title>
        <link rel="stylesheet" type="text/css" href="/Public/css/default.css" />
        <script type="text/javascript" src="__ROOT__/Public/js/jquery.min.js"></script>
        <script type="text/javascript" src="__ROOT__/Public/js/jquery.form.js"></script>
        <script type="text/javascript" src="__ROOT__/Public/js/operamasks-ui.min.js"></script>
        <script src="http://a.tbcdn.cn/s/kissy/1.1.6/seed-min.js"></script>
        <script src="http://a.tbcdn.cn/apps/pamirsshop/wiki/scripts/wiki.js"></script>
    </head>

    <body onload="bhtml()">
        <div id="edit"></div>
        <div id="meng"></div>
        <div id="tips"></div>
        <div id="hd">
            <div class="logo">
                <h1><embed height="80" width="220" flashvars="bannerWidth=220&bannerHeight=80&bannerSID=http://img1.tbcdn.cn/tfscom/T1ZGRPXsNeXXXgzXjX.xml&bannerXML=&bannerLink=http%3A%2F%2F&dataSource=&bid=35354065&appSource=default" wmode="transparent" allowscriptaccess="always" quality="high" name="35354065" id="35354065" style="" src="http://img.uu1001.cn/bcv3.swf?v=20121219" type="application/x-shockwave-flash"/></embed></h1>
                <p class="top1">
                    售前QQ:1870255432；售后QQ:1870255432&nbsp;&nbsp;<a href="__APP__/Help/index">网站地图</a>&nbsp;&nbsp;<a href="__APP__/Help/index" target="_blank">收藏本站</a>
                </p>
                <p class="top2">
                    您好，欢迎来到模板返利网&nbsp;
                    <?php if(empty($_SESSION['userid'])): ?>[<a href="__APP__/Public/login">登录</a>]&nbsp;&nbsp;[<a href="__APP__/Public/register">免费注册</a>]
                        <?php else: ?>
                        &nbsp;<a href="__APP__/User/orderlist">我的订单</a>&nbsp;&nbsp;<a href="__APP__/User/index">会员中心</a>&nbsp;&nbsp;<a href="__APP__/Public/logout">安全退出</a><?php endif; ?>
                    &nbsp;&nbsp;<a href="__APP__/Help/index">帮助中心</a>
                </p>
            </div>
            <div class="nav">
                <ul class="menu">
                    <li <?php if(($module_name == 'Index') and ($action_name == 'index')): ?>class="curli"<?php endif; ?>><a href="__APP__"><span>首页</span></a></li>
                    <li <?php if($module_name == 'Temp'): ?>class="curli"<?php endif; ?>><a href="__APP__/Temp"><span>所有模板</a></span></li>
                    <li <?php if(($module_name == 'Index') and ($action_name == 'jiaocheng')): ?>class="curli"<?php endif; ?>><a href="__APP__/Index/jiaocheng"><span>返利教程（必读）</a></span></li>
                    <li <?php if(($module_name == 'Index') and ($action_name == 'cooperation')): ?>class="curli"<?php endif; ?>><a href="__APP__/Index/cooperation"><span>商业合作</a></span></li>      
                    <?php if(!empty($_SESSION['userid'])): ?><li <?php if($module_name == 'User'): ?>class="curli"<?php endif; ?>><a href="__APP__/User/index"><span>会员中心</a></span></li><?php endif; ?>
                </ul>
            </div>
        </div>
        <script type="text/javascript">
            function qbot(){
                $("#tips").hide();
                $("body").css({"overflow":"auto"});
            }
            function query(i){
                var f = $('#formwork option:selected').val();
                var t = $('#trade option:selected').val();
                var c = $('#color option:selected').val();
                var s = $('#sty option:selected').val();
				var r = $('#rate option:selected').val();
                var n = $('#num').val();
                $.get('__URL__/addsty/f/'+f+'/t/'+t+'/c/'+c+'/s/'+s+'/id/'+i+'/n/'+n+'/r/'+r,function(data){
                    if(data == 1){
                        $("#tips").hide();
                        $("body").css({"overflow":"auto"});
                        var h = window.screen.height;
                        var w = window.screen.width;
                        $("#tips").css({"left":(w/2-100)+"px","top":(h/2-100)+"px","display":"block"});
                        $("#tips").html('<div style="font-size:12px; padding:10px;">修改成功</div>').animate({opacity: 'hide'}, 2000);
						document.location.reload();		
                    }
                    if(data == 0){
                        alert("上架后的模板，不允许设置属性为空");
                    }
                });
            }
            function bhtml(){
                var id = '<?php echo ($temp["id"]); ?>';
                $.get("__URL__/qhtml/id/"+id,function(data){
                    $("#ht").html(data);
                });
            }
        </script>

        <div class="hr-15"></div>
        <div class="help">
            <div class="help_hl">您最近的位置：<a href="/" title="首页">首页</a> > <a href="__URL__/index/id/2" title="帮助中心">帮助中心</a> > <?php  echo $name[0]['name'];?></div>
            <div class="hr-10"></div>
            <div class="help_l">
                <div class="help_list">
                    <ul>
                        <?php if(is_array($arr[0])): foreach($arr[0] as $k=>$li): ?><li>
                                <h3><?php echo ($li["menu"]); ?></h3>
                                <ol>
                                    <?php if(is_array($arr[$k])): foreach($arr[$k] as $k1=>$li1): ?><li><a class=""  href="__URL__/index/id/<?php echo ($li1["Id"]); ?>" title=""><span><?php echo ($li1["menu"]); ?></span></a></li><?php endforeach; endif; ?>
                                </ol>
                            </li><?php endforeach; endif; ?>
                    </ul>
                </div>
                <div class="hr-15"></div>
            </div>

            <div class="help_r">
                <div class="help_r_h">
                    <h3><?php echo ($con["0"]["menu"]); ?></h3>
                    <b></b>
                    <s></s>
                </div>

                <div class="help_r_l">
                    <div class="help_r_list">
                        <div class="hr-30"></div>
                        <p>
                            <?php echo ($con["0"]["content"]); ?>
                        </p>
                    </div>
                </div>
                <div class="hr-30"></div>
            </div>
        </div>

    </body>
</html>